package com.becca.cake.model.statistics;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


import com.becca.cake.model.order.OrderDetailsModel;

/**
 * 用户消费表
 * @author B019
 *
 */
public class UserConsumptionModel implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3153650490629096076L;
	//用户ID
	private Integer userId;
	//用户名
	private String  userName;
	//消费次数
	private Integer cousumptionNumber;
	//消费总金额
	private double totalCousumtion;
	
	private Integer orderId;
	/**订单编号*/
    private String                  orderCode;
    /**订单类型(0:普通订单 1:企业订单 2:试吃订单 3:免单订单)*/
    private Byte                    orderType;
    /**订单状态(0:待付款 1:确认中 2:已确认 3:备货中 4:已发货 5:已完成 6:已取消)*/
    private Byte                    orderStatus;
    /**支付状态(0:待支付 1:已支付 2:用户取消支付  3:超时未支付)*/
    private Byte                    payStatus;
    /**订单总金额*/
    private Double                  totalAmount;
    /**实际支付金额*/
    private Double                  payAmount;
    /**商品数量*/
    private Integer                 goodsNumber;
    /**优惠类型*/
    private Byte                    couponType;
    /**优惠券(优惠码)ID*/
    private Integer                 couponId;
    /**优惠码*/
    private String                  couponCode;

    /**优惠券金额*/
    private Double                  couponFee;
    /**收货人*/
    private String                  consignee;
    /**收货人电话*/
    private String                  consignPhone;
    /**收货人地址*/
    private String                  consignAddress;

    /**创建时间*/
    private Date                    createdDate;
    /**创建人*/
    private String                  createdName;
    /**修改时间*/
    private Date                    updatedDate;
    /**修改人*/
    private String                  updatedName;

    /**订单明细集合*/
    private List<OrderDetailsModel> goodsList;
    /**商品订单名称*/
    private String                  goodsFixingOrderName;
    /**商品重量*/
    private String                  goodsWeight;
    /**商品尺寸*/
    private String                  goodsSize;
    /**商品名称*/
    private String                  goodsName;


	
	public Integer getUserId()
	{
		return userId;
	}
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}
	public String getUserName()
	{
		return userName;
	}
	public void setUserName(String userName)
	{
		this.userName = userName;
	}
	
	public Integer getCousumptionNumber()
	{
		return cousumptionNumber;
	}
	public void setCousumptionNumber(Integer cousumptionNumber)
	{
		this.cousumptionNumber = cousumptionNumber;
	}
	public double getTotalCousumtion()
	{
		return totalCousumtion;
	}
	public void setTotalCousumtion(double totalCousumtion)
	{
		this.totalCousumtion = totalCousumtion;
	}
	public String getOrderCode()
	{
		return orderCode;
	}
	public void setOrderCode(String orderCode)
	{
		this.orderCode = orderCode;
	}
	public Byte getOrderType()
	{
		return orderType;
	}
	public void setOrderType(Byte orderType)
	{
		this.orderType = orderType;
	}
	public Byte getOrderStatus()
	{
		return orderStatus;
	}
	public void setOrderStatus(Byte orderStatus)
	{
		this.orderStatus = orderStatus;
	}
	public Byte getPayStatus()
	{
		return payStatus;
	}
	public void setPayStatus(Byte payStatus)
	{
		this.payStatus = payStatus;
	}
	public Double getTotalAmount()
	{
		return totalAmount;
	}
	public void setTotalAmount(Double totalAmount)
	{
		this.totalAmount = totalAmount;
	}
	public Double getPayAmount()
	{
		return payAmount;
	}
	public void setPayAmount(Double payAmount)
	{
		this.payAmount = payAmount;
	}
	public Integer getGoodsNumber()
	{
		return goodsNumber;
	}
	public void setGoodsNumber(Integer goodsNumber)
	{
		this.goodsNumber = goodsNumber;
	}
	public Byte getCouponType()
	{
		return couponType;
	}
	public void setCouponType(Byte couponType)
	{
		this.couponType = couponType;
	}
	public Integer getCouponId()
	{
		return couponId;
	}
	public void setCouponId(Integer couponId)
	{
		this.couponId = couponId;
	}
	public String getCouponCode()
	{
		return couponCode;
	}
	public void setCouponCode(String couponCode)
	{
		this.couponCode = couponCode;
	}
	public Double getCouponFee()
	{
		return couponFee;
	}
	public void setCouponFee(Double couponFee)
	{
		this.couponFee = couponFee;
	}
	public String getConsignee()
	{
		return consignee;
	}
	public void setConsignee(String consignee)
	{
		this.consignee = consignee;
	}
	public String getConsignPhone()
	{
		return consignPhone;
	}
	public void setConsignPhone(String consignPhone)
	{
		this.consignPhone = consignPhone;
	}
	public String getConsignAddress()
	{
		return consignAddress;
	}
	public void setConsignAddress(String consignAddress)
	{
		this.consignAddress = consignAddress;
	}
	public Date getCreatedDate()
	{
		return createdDate;
	}
	public void setCreatedDate(Date createdDate)
	{
		this.createdDate = createdDate;
	}
	public String getCreatedName()
	{
		return createdName;
	}
	public void setCreatedName(String createdName)
	{
		this.createdName = createdName;
	}
	public Date getUpdatedDate()
	{
		return updatedDate;
	}
	public void setUpdatedDate(Date updatedDate)
	{
		this.updatedDate = updatedDate;
	}
	public String getUpdatedName()
	{
		return updatedName;
	}
	public void setUpdatedName(String updatedName)
	{
		this.updatedName = updatedName;
	}
	public List<OrderDetailsModel> getGoodsList()
	{
		return goodsList;
	}
	public void setGoodsList(List<OrderDetailsModel> goodsList)
	{
		this.goodsList = goodsList;
	}
	public String getGoodsFixingOrderName()
	{
		return goodsFixingOrderName;
	}
	public void setGoodsFixingOrderName(String goodsFixingOrderName)
	{
		this.goodsFixingOrderName = goodsFixingOrderName;
	}
	public String getGoodsWeight()
	{
		return goodsWeight;
	}
	public void setGoodsWeight(String goodsWeight)
	{
		this.goodsWeight = goodsWeight;
	}
	public String getGoodsSize()
	{
		return goodsSize;
	}
	public void setGoodsSize(String goodsSize)
	{
		this.goodsSize = goodsSize;
	}
	public String getGoodsName()
	{
		return goodsName;
	}
	public void setGoodsName(String goodsName)
	{
		this.goodsName = goodsName;
	}
	public Integer getOrderId()
	{
		return orderId;
	}
	public void setOrderId(Integer orderId)
	{
		this.orderId = orderId;
	}
	
	
	
}
